# -*- coding: utf-8 -*-
# this file is released under public domain and you can use without limitations
#########################################################################
## Customize your APP title, subtitle and menus here
#########################################################################

response.title = 'International Lattice Data Grid'
response.subtitle = ''

response.menu = []

if request.controller=='ildg':
    if not request.function=='index':
        response.menu.append(('Pie Chart',False,URL('ildg','index')))
    if not request.function=='domains':
        response.menu.append(('ILDG domain status',False,URL('ildg','domains')))
    if not request.function=='search':
        response.menu.append(('Search by query',False,URL('ildg','search')))
    if not request.function=='keys':
        response.menu.append(('Search by keys',False,URL('ildg','keys')))
#    response.menu.append((T('JSON'), False,
#                          URL(extension='json',args=request.args)))
